import request from '@/utils/request.js'

//获取所有菜单
export const getParkingListApi = (params) => {
    return request ({
        url:'/parking/index',
        methods:'get',
        params
    })
}

export const commonityINfoApi=()=>{
    return request.get('/community')
}

//新增功能
export const addParkingApi = (data) => {
    return request ({
        url:'/parking/index',
        method:'post',
        data
    })
}